package cn.jslancer.webx.parse;

import com.alibaba.fastjson.JSON;

/**
 * @author zhuangchao
 * @date 2018-07-27 16:23
 */
public class ClassTypeParser implements Parser {

    @Override
    public <T> T parse(String body, Class<T> cls) {
        return JSON.parseObject(body, cls);
    }
}
